﻿using Product.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Product.EntityFrameworkCore.PO
{
    public class SkuPo
    {
        public string Id { get; set; }

        /// <summary>
        /// SpuId
        /// </summary>
        public string SpuId { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string PicUrl { get; set; }

        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string UnitId { get; set; }

        /// <summary>
        /// 销售状态
        /// </summary>
        public SalesStatus SalesStatus { get; set; }

        /// <summary>
        /// sku 编码
        /// </summary>
        public string SkuNo { get; set; }

        /// <summary>
        /// sku 库存
        /// </summary>
        public int Stock { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public virtual UnitPo Unit { get; set; }
    }
}
